

/**
 * @author weiZhiLin
 * @version 1.0
 * @date 2019/12/26 11:59
 */
public abstract class Phone {
    protected Integer price;
    protected String name;

    public void setPrice(Integer price) {
        this.price = price;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPrice() {
        return price;
    }

    public String getName() {
        return name;
    }
}
